﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SHKF.B2C.MeiTuanPeiSong.Model.Dto.Order
{
    public class OrderStatusData
    {
        /// <summary>
        /// 配送活动标识
        /// </summary>
        public long delivery_id { get; set; }

        /// <summary>
        /// 美团配送内部订单id，最长不超过32个字符
        /// </summary>
        public string mt_peisong_id { get; set; }

        /// <summary>
        /// 外部订单号，最长不超过32个字符
        /// </summary>
        public string order_id { get; set; }

        /// <summary>
        /// 状态代码
        /// </summary>
        public int status { get; set; }

        /// <summary>
        /// 订单状态变更时间，格式为unix-timestamp
        /// </summary>
        public long operate_time { get; set; }

        /// <summary>
        /// 订单预计送达时间
        /// </summary>
        public string predict_delivery_time { get; set; }

        /// <summary>
        /// 配送员姓名
        /// </summary>
        public string courier_name { get; set; }

        /// <summary>
        /// 配送员电话
        /// </summary>
        public string courier_phone { get; set; }

        /// <summary>
        /// 取消原因id
        /// </summary>
        public string cancel_reason_id { get; set; }

        /// <summary>
        /// 取消原因详情
        /// </summary>
        public string cancel_reason { get; set; }
         
        //订单配送距离，单位为米
        public int delivery_distance { get; set; }


        /// <summary>
        /// 订单配送价格，单位为元
        /// </summary>
        public double delivery_fee { get; set; }

        /// <summary>
        /// 实际支付价格，单位为元
        /// </summary>
        public double pay_amount { get; set; }

        /// <summary>
        /// 结算方式
        /// </summary>
        public int settlement_mode_code { get; set; }
         
        /// <summary>
        /// 优惠券金额，单位为元
        /// </summary>
        public double coupons_amount { get; set; }
    }
}
